package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 巡查记录对象 algs_inspection_record
 * 
 * @author ruoyi
 * @date 2023-03-21
 */
public class AlgsInspectionRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long inspectionRecordId;

    /** 记录名称 */
    @Excel(name = "记录名称")
    private String inspectionRecordName;

    /** 巡查位置 */
    @Excel(name = "巡查位置")
    private String inspectionRecordAdd;

    /** 巡查结果 */
    @Excel(name = "巡查结果")
    private String typeId;

    /** 巡查日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "巡查日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionRecordDate;

    /** 巡查员工ID（外键） */
    @Excel(name = "巡查员工ID", readConverterExp = "外=键")
    private Long staffPatrolId;

    /** 负责人ID（外键） */
    @Excel(name = "负责人ID", readConverterExp = "外=键")
    private Long staffId;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String inspectionRecordDesc;

    /** 备用列 */
    @Excel(name = "备用列")
    private Long inspectionRecordBy1;

    /** 备用列 */
    @Excel(name = "备用列")
    private String inspectionRecordBy2;

    /** 备用列 */
    @Excel(name = "备用列")
    private String inspectionRecordBy3;

    public void setInspectionRecordId(Long inspectionRecordId) 
    {
        this.inspectionRecordId = inspectionRecordId;
    }

    public Long getInspectionRecordId() 
    {
        return inspectionRecordId;
    }
    public void setInspectionRecordName(String inspectionRecordName) 
    {
        this.inspectionRecordName = inspectionRecordName;
    }

    public String getInspectionRecordName() 
    {
        return inspectionRecordName;
    }
    public void setInspectionRecordAdd(String inspectionRecordAdd) 
    {
        this.inspectionRecordAdd = inspectionRecordAdd;
    }

    public String getInspectionRecordAdd() 
    {
        return inspectionRecordAdd;
    }
    public void setTypeId(String typeId) 
    {
        this.typeId = typeId;
    }

    public String getTypeId() 
    {
        return typeId;
    }
    public void setInspectionRecordDate(Date inspectionRecordDate) 
    {
        this.inspectionRecordDate = inspectionRecordDate;
    }

    public Date getInspectionRecordDate() 
    {
        return inspectionRecordDate;
    }
    public void setStaffPatrolId(Long staffPatrolId) 
    {
        this.staffPatrolId = staffPatrolId;
    }

    public Long getStaffPatrolId() 
    {
        return staffPatrolId;
    }
    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setInspectionRecordDesc(String inspectionRecordDesc) 
    {
        this.inspectionRecordDesc = inspectionRecordDesc;
    }

    public String getInspectionRecordDesc() 
    {
        return inspectionRecordDesc;
    }
    public void setInspectionRecordBy1(Long inspectionRecordBy1) 
    {
        this.inspectionRecordBy1 = inspectionRecordBy1;
    }

    public Long getInspectionRecordBy1() 
    {
        return inspectionRecordBy1;
    }
    public void setInspectionRecordBy2(String inspectionRecordBy2) 
    {
        this.inspectionRecordBy2 = inspectionRecordBy2;
    }

    public String getInspectionRecordBy2() 
    {
        return inspectionRecordBy2;
    }
    public void setInspectionRecordBy3(String inspectionRecordBy3) 
    {
        this.inspectionRecordBy3 = inspectionRecordBy3;
    }

    public String getInspectionRecordBy3() 
    {
        return inspectionRecordBy3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inspectionRecordId", getInspectionRecordId())
            .append("inspectionRecordName", getInspectionRecordName())
            .append("inspectionRecordAdd", getInspectionRecordAdd())
            .append("typeId", getTypeId())
            .append("inspectionRecordDate", getInspectionRecordDate())
            .append("staffPatrolId", getStaffPatrolId())
            .append("staffId", getStaffId())
            .append("inspectionRecordDesc", getInspectionRecordDesc())
            .append("inspectionRecordBy1", getInspectionRecordBy1())
            .append("inspectionRecordBy2", getInspectionRecordBy2())
            .append("inspectionRecordBy3", getInspectionRecordBy3())
            .toString();
    }
}
